package com.dashu.base.enums.school;

import java.util.HashMap;
import java.util.Map;

public enum RelationshipType {

    FATHER("爸爸"),
    MOTHER("妈妈"),
//    FATHER_AND_DAUGHTER("父女"),
//    MOTHER_AND_DAUGHTER("母女"),
    ANCESTOR("祖孙"),
    OTHER("其他");


    private String name;

    RelationshipType(String name) {
        this.name = name;
    }

    public static final Map<String, RelationshipType> map = new HashMap<>();

    static {
        for (RelationshipType s : RelationshipType.values()) {
            map.put(s.name(), s);
        }
    }

}
